<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	
	<xsl:output encoding="EUC-KR"/>
	<xsl:param name="deploy"/>
	<xsl:param name="runEnv"/>
	
	<xsl:template match="/configuration">
		<configuration>
			<xsl:apply-templates select="@*|node()"/>
		</configuration>
	</xsl:template>
	
	<xsl:template match="@*|node()">
		<xsl:if test="@runEnv=$runEnv or @deploy=$deploy or (not(@runEnv) and not(@deploy))">
			<xsl:copy>
				<xsl:apply-templates select="@*|node()"/>
			</xsl:copy>
		</xsl:if>
	</xsl:template>
	
</xsl:stylesheet>